home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _42092CD71F8F496DB7B3CADC96FC4ED2 < prev    next >
Encoding:
Text File  |  2006-08-04  |  5.7 KB  |  173 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro 9',
  9.         'Host Version': '9.00'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': False, 
  19.             'Background': False, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': False, 
  23.             'CenterCropmarks': False, 
  24.             'RegistrationMarks': False, 
  25.             'ImageLabels': False, 
  26.             'Header': False, 
  27.             'HeaderText': '', 
  28.             'Footer': False, 
  29.             'FooterText': '', 
  30.             'CMYKLabels': False, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': '', 
  35.         'TemplateMetric': False, 
  36.         'PageDimensions': (8.5,11), 
  37.         'TemplateCategory': 'Avery', 
  38.         'TemplateDescription': '(14) 4.19" x 1.33"-etiketten', 
  39.         'Template': [{
  40.             'CellPosition': (0.2235,0.9008), 
  41.             'CellSize': (3.865,1.198), 
  42.             'ImagePlacement': 2, 
  43.             'EllipticalCell': False, 
  44.             'ImagePath': '', 
  45.             'RotationAngle': 0, 
  46.             'ImagePosition': (0,0), 
  47.             'ImageSize': (0,0)
  48.             },{
  49.             'CellPosition': (0.2235,2.2338), 
  50.             'CellSize': (3.865,1.198), 
  51.             'ImagePlacement': 2, 
  52.             'EllipticalCell': False, 
  53.             'ImagePath': '', 
  54.             'RotationAngle': 0, 
  55.             'ImagePosition': (0,0), 
  56.             'ImageSize': (0,0)
  57.             },{
  58.             'CellPosition': (0.2235,3.5668), 
  59.             'CellSize': (3.865,1.198), 
  60.             'ImagePlacement': 2, 
  61.             'EllipticalCell': False, 
  62.             'ImagePath': '', 
  63.             'RotationAngle': 0, 
  64.             'ImagePosition': (0,0), 
  65.             'ImageSize': (0,0)
  66.             },{
  67.             'CellPosition': (0.2235,4.8998), 
  68.             'CellSize': (3.865,1.198), 
  69.             'ImagePlacement': 2, 
  70.             'EllipticalCell': False, 
  71.             'ImagePath': '', 
  72.             'RotationAngle': 0, 
  73.             'ImagePosition': (0,0), 
  74.             'ImageSize': (0,0)
  75.             },{
  76.             'CellPosition': (0.2235,6.2328), 
  77.             'CellSize': (3.865,1.198), 
  78.             'ImagePlacement': 2, 
  79.             'EllipticalCell': False, 
  80.             'ImagePath': '', 
  81.             'RotationAngle': 0, 
  82.             'ImagePosition': (0,0), 
  83.             'ImageSize': (0,0)
  84.             },{
  85.             'CellPosition': (0.2235,7.5658), 
  86.             'CellSize': (3.865,1.198), 
  87.             'ImagePlacement': 2, 
  88.             'EllipticalCell': False, 
  89.             'ImagePath': '', 
  90.             'RotationAngle': 0, 
  91.             'ImagePosition': (0,0), 
  92.             'ImageSize': (0,0)
  93.             },{
  94.             'CellPosition': (0.2235,8.8988), 
  95.             'CellSize': (3.865,1.198), 
  96.             'ImagePlacement': 2, 
  97.             'EllipticalCell': False, 
  98.             'ImagePath': '', 
  99.             'RotationAngle': 0, 
  100.             'ImagePosition': (0,0), 
  101.             'ImageSize': (0,0)
  102.             },{
  103.             'CellPosition': (4.411,0.9008), 
  104.             'CellSize': (3.865,1.198), 
  105.             'ImagePlacement': 2, 
  106.             'EllipticalCell': False, 
  107.             'ImagePath': '', 
  108.             'RotationAngle': 0, 
  109.             'ImagePosition': (0,0), 
  110.             'ImageSize': (0,0)
  111.             },{
  112.             'CellPosition': (4.411,2.2338), 
  113.             'CellSize': (3.865,1.198), 
  114.             'ImagePlacement': 2, 
  115.             'EllipticalCell': False, 
  116.             'ImagePath': '', 
  117.             'RotationAngle': 0, 
  118.             'ImagePosition': (0,0), 
  119.             'ImageSize': (0,0)
  120.             },{
  121.             'CellPosition': (4.411,3.5668), 
  122.             'CellSize': (3.865,1.198), 
  123.             'ImagePlacement': 2, 
  124.             'EllipticalCell': False, 
  125.             'ImagePath': '', 
  126.             'RotationAngle': 0, 
  127.             'ImagePosition': (0,0), 
  128.             'ImageSize': (0,0)
  129.             },{
  130.             'CellPosition': (4.411,4.8998), 
  131.             'CellSize': (3.865,1.198), 
  132.             'ImagePlacement': 2, 
  133.             'EllipticalCell': False, 
  134.             'ImagePath': '', 
  135.             'RotationAngle': 0, 
  136.             'ImagePosition': (0,0), 
  137.             'ImageSize': (0,0)
  138.             },{
  139.             'CellPosition': (4.411,6.2328), 
  140.             'CellSize': (3.865,1.198), 
  141.             'ImagePlacement': 2, 
  142.             'EllipticalCell': False, 
  143.             'ImagePath': '', 
  144.             'RotationAngle': 0, 
  145.             'ImagePosition': (0,0), 
  146.             'ImageSize': (0,0)
  147.             },{
  148.             'CellPosition': (4.411,7.5658), 
  149.             'CellSize': (3.865,1.198), 
  150.             'ImagePlacement': 2, 
  151.             'EllipticalCell': False, 
  152.             'ImagePath': '', 
  153.             'RotationAngle': 0, 
  154.             'ImagePosition': (0,0), 
  155.             'ImageSize': (0,0)
  156.             },{
  157.             'CellPosition': (4.411,8.8988), 
  158.             'CellSize': (3.865,1.198), 
  159.             'ImagePlacement': 2, 
  160.             'EllipticalCell': False, 
  161.             'ImagePath': '', 
  162.             'RotationAngle': 0, 
  163.             'ImagePosition': (0,0), 
  164.             'ImageSize': (0,0)
  165.             }], 
  166.         'TextFieldList': []
  167.         }
  168.  
  169. def Do(Environment):
  170.     # Print_LOCALIZED
  171.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  172.  
  173.